// .nav{
//     width: 100%;
//     height: 44px;
   
//     background-color: red;
// }



.main{
    width: 100%;
    height: calc(100vh - 60px);
}

.edit-title {
    width: 100%;
    height: auto;
    padding: 16px 16px 0 16px;
    box-sizing: border-box;

    .edit-title-input {
        width: 100%;
        height: 24px;
        font-size: 20px;
        color: #333333;
        outline: none;
        border: none;
        margin-bottom: 10px;
    }

    .edit-title-lint {
        width: 100%;
        height: 1px;
        background: #da77f2;
        transition: all .5s;
        
    }
}


.ProseMirror {
    min-height: 200px;
    max-height: calc(100vh - 51px - 66px );
    overflow: auto;
    padding: 16px;
    box-sizing: border-box;
    //去掉聚焦的边框
    outline: none;

    p.is-editor-empty:first-child::before {
        content: attr(data-placeholder);
        float: left;
        color: #adb5bd;
        pointer-events: none;
        height: 0;
    }

    img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border: dashed 2px #ffffff;

        &.ProseMirror-selectednode {
            border: dashed 2px #e599f7;
        }
    }
}

.iframe-wrapper {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    position: relative;

    &.ProseMirror-selectednode {
        border: dashed 3px #68CEF8;
        box-sizing: border-box;
    }

    iframe {
        position: absolute;
        width: 100%;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 10px;
    }
}


.tips-color {
    width: 100%;
    height: auto;
    font-size: 0;
    border: solid 1rpx #63e6be;
}

.edit-bom {
    width: 100%;
    position: fixed;
    // bottom: 0;
    transition:  all .25s;
    background-color: #ffffff;

    .edit-fun {
        width: 100%;
        height: auto;
        display: flex;
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom)) 16px;
        box-sizing: border-box;
        border-top: solid 1px #f7f7f7;
        .edit-fun-item{
            flex: 1;
            height: auto;
            display: flex;
            .edit-iconfont {
                font-size: 25px;
                display: flex;
                align-items: center;
                color: #c1c5c7;
                margin-left: 15px;
    
                &:first-child {
                    margin-left: 0 !important;
                }
            }
    
            .edit-upload-img {
                overflow: hidden;
                position: relative;
                display: flex;
    
                .edit-upload-input {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    right: 0;
                    left: 0;
                    bottom: 0;
                    opacity: 0;
                }
            }
        }

        .edit-save{
            padding: 5px 15px;
            background-color: #63e6be;
            border-radius: 5px;
            color: #ffffff;
        }

        
    }

    .edit-fun-main {
        width: 100%;
        padding: 16px;
        box-sizing: border-box;
        background-color: #ffc9c9;
    }
}


